ActiveRecord::Schema.define(:version => 1) do

  create_table :authors do |t|
    t.column :name,       :string
  end
  
  create_table :works do |t|
    t.column :name, :string
    t.column :author_id, :integer
  end

  create_table :influences do |t|
    t.column :author_id, :integer
    t.column :influenced_by_id, :integer
  end
  
end
